<% @novel = novel_summary %>
<%= auto_discovery_link_tag(:rss, feed_novel_url(@novel,:format=>'rss'), {:title =>@novel.title})  %>

<div class="novel_summary">
    <h2 class="novel_title">
		<%=link_to image_tag("feedicon.gif",:alt=>(t ".rss")),(rss_link @novel),{:class=>"rss_button"}-%>
		<%= link_to @novel.title, novel_path(@novel) %>
		<%=image_tag("Lock.png",:alt=>(t ".novel_over"),:height => '10', :width => '10',:class=>"lock_novel") if @novel.is_over-%>
	</h2>
	<%= simple_format truncate(@novel.summary,:length=>160),:class => 'novel_summary_content' -%>
    <div class="novel_states">
    <p><%=t ".progress"%><strong><%= 1 %></strong>（<%= link_to (t ".read_all"), read_novel_path(@novel) %>）
    </p>
	<a class="rss_button" href="http://fusion.google.com/add?source=atgs&feedurl=<%=rss_link @novel%>">
		<img src="http://buttons.googlesyndication.com/fusion/add.gif" border="0" alt="Add to Google">
	</a>
    </br>
	<!--
	<a class="rss_button" href="http://www.zhuaxia.com/add_channel.php?url=<%=rss_link @novel%>">
		<img alt="订阅到抓虾" src="http://www.20ju.com/images/subscribe_12.gif" border="0">
	</a>
	-->
	
	<p><%= t ".tags"%>
		<% tag_cloud(@novel.tag_counts_on(:tags), %w(css1 css2 css3 css4)) do |tag, css_class| %>
			<%= link_to tag.name, { :action => :tag, :id => tag.name }, :class => css_class %>
		<% end %>
	</p>
    <p class="title_line"><%= t ".creator"%><%= link_to @novel.user.name, user_path(@novel.user) %><span><%=time_format @novel.created_at%></span></p>
    <!-- <p>续写片段被并入规则:<%= label_for_linkrule @novel.linkrule %></p> -->
    </div>
</div>
